var _itemFriendsView;

app.Views.ItemFriendsView = Backbone.View.extend({
	
	id:"itemFriends",
	tagName:"li",
	className:"list-group-item",
	
	initialize:function () {
		
		_itemFriendsView = this;
		
		this.template = _.template(tpl.get('itemFriends'));
		this.delegateEvents();   
		
        return this;	
    },	

    render:function (eventName) {
		
		$(this.el).html(this.template(this.model.toJSON()));
		   
        return this;
    },	
	
	destroy:function(){
	
		$(this.el).empty();
		
	}

});